package com.realphim.app.util;

public interface CommonDefine {

    // Define Method

    public static final String METHOD_POST = "post";

    public static final String METHOD_GET = "get";

    // Define service

    public static final String SERVICE_HEADER = "http://realphim.com/api/";

    public static final String SERVICE_GET_LIST_FILM = SERVICE_HEADER
            + "film/get_list?";

    public static final String SERVICE_GET_LIST_CATEGORY = SERVICE_HEADER
            + "category/get_list?";

    // Define param for service

    public static class ServiceParam {
        public static final String IS_FEATURE = "is_featured";

        public static final String LIMIT = "limit";

        public static final String START = "start";

        public static final String ORDER_BY = "order_by";

        public static final String TYPE = "type";

        public static final String CATEGORY_ID = "category_id";
        
        public static final String KEY_WORD = "keyword";
    }

    // Define object json key

    public static class KeyPhim {
        public static final String id = "id";

        public static final String type = "type";

        public static final String title = "title";

        public static final String title_translate = "title_translate";

        public static final String image = "image";

        public static final String thumbnail = "thumbnail";

        public static final String description = "description";

        public static final String last_episode = "last_episode";

        public static final String max_episode = "max_episode";

        public static final String is_hd = "is_hd";

        public static final String imdb = "imdb";

        public static final String publish_year = "publish_year";

        public static final String duration = "duration";

        public static final String is_featured = "is_featured";

        public static final String is_cinema = "is_cinema";

        public static final String rate = "rate";

        public static final String director = "director";

        public static final String view_fake = "view_fake";

        public static final String label = "label";

        public static final String actors = "actors";

        public static final String nation = "nation";

        public static final String tags = "tags";

        public static final String upload_by = "upload_by";

        public static final String created_date = "created_date";

        public static final String view_count = "view_count";

        public static final String view_count_week = "view_count_week";

        public static final String view_count_month = "view_count_month";

        public static final String category = "category";
    }

    public static class KeyCategory {
        public static final String id = "id";

        public static final String title = "title";
    }

    public static class KeyBundle {
        public static final String CATEGORY_NAME = "category_name";

        public static final String URL_GET_PHIM = "url_get_phim";
    }

}
